package com.yyk.springshell.function;

import org.springframework.shell.standard.ShellComponent;
import org.springframework.shell.standard.ShellMethod;

/**
 * @author ljp
 * @CLASSNAME MyCommands
 * @date 2021/1/14 13:48
 * @description：
 */
@ShellComponent
public class MyCommands {

    @ShellMethod("两个数相加")
    public Integer jia(Integer a, Integer b) {
        return a + b;
    }
}
